package com.party.core.dao.write.order;

import com.party.core.dao.write.BaseWriteDao;
import com.party.core.model.order.OrderFormHistory;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author yifeng
 * @createTime 2018/1/25 0025 上午 10:48
 * @description 历史订单表数据写入
 */
@Repository
public interface OrderFormHistoryWriteDao extends BaseWriteDao<OrderFormHistory> {
    /**
     * 复制已取消的订单到订单历史表
     *
     * @param orderId 订单id
     */
    boolean copyCanceledOrderForm(@Param(value = "orderId") String orderId);
}
